package com.ruoyi.common.core.domain.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class DocFileManage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long id;

    /** 文件编号 */
    @Excel(name = "文件编号")
    private Integer fileNumber;

    /** 文件所属部门 编号*/
    @Excel(name = "文件所属部门")
    private String docDept;

    /** 文件所属部门 中文*/
    private String deptName;

    /** 文件备注 */
    @Excel(name = "文件备注")
    private String fileNote;

    /** 文件信息 */
    @Excel(name = "文件信息")
    private String fileType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 文件备注 */
    @Excel(name = "文件备注")
    private String DocFileId;

    /** 项目信息id */
    @Excel(name = "项目信息id")
    private Long sysProinfoId;

    /** 逻辑删除 0：未删除 1：已删除*/
    @Excel(name = "逻辑删除")
    private Long isdelFlag;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getIsdelFlag() {
        return isdelFlag;
    }

    public void setIsdelFlag(Long isdelFlag) {
        this.isdelFlag = isdelFlag;
    }

    public void setFileNote(String fileNote) {
        this.fileNote = fileNote;
    }

    public String getDocFileId() {
        return DocFileId;
    }

    public void setDocFileId(String docFileId) {
        DocFileId = docFileId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFileNumber(Integer fileNumber)
    {
        this.fileNumber = fileNumber;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Integer getFileNumber()
    {
        return fileNumber;
    }
    public void setDocDept(String docDept)
    {
        this.docDept = docDept;
    }

    public String getDocDept()
    {
        return docDept;
    }

    public String getFileNote()
    {
        return fileNote;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime()
    {
        return uploadTime;
    }

    public Long getSysProinfoId() {
        return sysProinfoId;
    }

    public void setSysProinfoId(Long sysProinfoId) {
        this.sysProinfoId = sysProinfoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("fileNumber", getFileNumber())
                .append("fileDept", getDocDept())
                .append("fileNote", getFileNote())
                .append("DocFileId", getDocFileId())
                .append("uploadTime", getUploadTime())
                .append("fileType", getFileType())
                .append("SysProinfoId", getSysProinfoId())
                .append("docFileId", getDocFileId())
                .append("isdelFlag", getIsdelFlag())
                .toString();
    }
}
